<template>
	<view>
		<web-view :src="agreementUrl"></web-view>
	</view>
</template>

<script>
	import config from '@/config.js';
	export default {
		data() {
			return {
				agreementUrl:'',
			}
		},
		/*  0: 用户协议  1：隐私政策 2：版权信息 3：相关资质 */
		// const AgreementUrl = 'https://xch.jseihc.com/public/AnnoyFreeProtocol/隐私政策.html'; // 存放各种协议的地址
		onLoad(option) {
			console.log(option);
			if(option.index == '0') {
				this.agreementUrl = config.AgreementUrl + '/用户协议.html';
			}else if(option.index == '1') {
				this.agreementUrl = config.AgreementUrl + '/隐私政策.html';
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
